package com.outlandr.irc.server;

public class Message {

	User user;
	String message;

	public Message(User user, String text) {
		this.user = user;
		String[] parts = text.split(":");
		this.message = parts[1];
	}
	
	public String getMessage() {
		return message;
	}
	
	public User getSender() {
		return user;
	}
}
